//
//  ForgotPasswordViewController.h
//  OrderSeat
//
//  Created by haiming on 13-10-8.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ForgotPasswordDataSource;
@interface ForgotPasswordViewController : BaseViewController

@property (strong, nonatomic) IBOutlet UIView *contentView;
@property (strong, nonatomic) IBOutlet UITextField *phoneTF;
@property (strong, nonatomic) IBOutlet UITextField *verifyTF;
@property (weak,   nonatomic) IBOutlet UILabel *titleLabel;
@property (copy,   nonatomic) NSString *phoneNumber;
@property (copy,   nonatomic) NSString *verifyNumber;
@property (strong, nonatomic) ForgotPasswordDataSource *dataSource;
@property (assign, nonatomic) PassType passType;

- (id)initWithPassType:(PassType)passType;

@end

@interface ForgotPasswordDataSource : BaseDataSource

@property (nonatomic, strong) ForgotPasswordViewController *Controller;

- (void)sendSMS;
- (void)validateTel;
- (void)validateCode;

@end
